//https://leetcode.cn/problems/reverse-string/
package codeRandomThoughts.Test344反转字符串;

public class Solution {
    public void reverseString(char[] s) {
        char tem;
        for (int i = 0; i < s.length/2; i++) {
            tem= s[i];
            s[i]= s[s.length-1-i];
            s[s.length-1-i]  = tem;
        }
    }
}
